<?php

namespace App\Models;


/**
 * App\Models\OrderModel
 *
 * @property int $id
 * @property string $order_sn 订单编号
 * @property int $user_id 用户id
 * @property int $goods_num
 * @property string $all_price
 * @property string|null $deleted
 * @property \Illuminate\Support\Carbon|null $add_time
 * @property \Illuminate\Support\Carbon|null $update_time
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereAddTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereAllPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereDeleted($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereGoodsNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereOrderSn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereUpdateTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|OrderModel whereUserId($value)
 * @mixin \Eloquent
 */
class OrderModel extends BaseModel
{
    protected $connection = "mysql";
    protected $table = "order";

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
    ];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [
        'deleted'
    ];
}
